﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class ChiTietPhieuThueBUS
    {
        public static void ThemChiTietPhieuThue(long maKhachHang, long maPhieuThue)
        {
            ChiTietPhieuThueDAO.themChiTietPhieuThue(maKhachHang, maPhieuThue);
        }
        public static long layMaCTPTTheoMaKHvaMaPhieuThue(string maKH,long maphieuthue)
        {
            return DAO.ChiTietPhieuThueDAO.layMaCTPTTheoMaKHvaMaPhieuThue(maKH, maphieuthue);
        }
        public static List<ChiTietPhieuThueDTO> layDSCTPTtheoDSMaHD(List<HoaDonDTO> dsHD)
        {
            return DAO.ChiTietPhieuThueDAO.layDSCTPTtheoDSMaHD(dsHD);
        }
    }
}
